<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑内容</title>
<load href="__PUBLIC__/css/bootstrap.min.css" />
<import type='css' file="css.main" />
<load href="__PUBLIC__/js/jquery-1.9.1.min.js" />
<load href="__PUBLIC__/js/jquery-ui.min.js" />
<import type='js' file="js.main" />
<style type="text/css">.hktinfo{display: none;}</style>
</head>

<body id="body">
<div class="main-frame">
	<div class="position">华人码 > 编辑内容</div>
	<!-- 图片资源开始 -->
	<div class="floatBackground" id="floatBackground" style="display: none;">
		<div class="bounced">
		<label class="closeImgResurces">X</label>
		<iframe id="imgResourcesiframe" src="{:rtrim(U('Upload/index'),'.html')}" width="750" height="465" frameborder="0" scrolling="auto"></iframe>
		</div>
	</div>
	<!-- 图片资源结束 -->
	<div class="addobject">
		<div class="obj-form">
			<form name="form1" id="form1" action="{:U('Plate/pedit')}" method="post" class="form-inline">
				<input type="hidden" name="editid" value="{$datainfo.id}">
				<ul>
					<li class="lititle">
						<label class="fl tle">分类名称：</label>
						<span class="fl cnt">
						<input name="y_titleshort" class="form-control" placeholder="分类名称" value="{$datainfo.y_titleshort}" style="width: 450px;"><em>*</em>
						</span>
					</li>
					<li class="lititle">
						<label class="fl tle">描述名称：</label>
						<span class="fl cnt">
						<input name="y_title" class="form-control" placeholder="描述名称" value="{$datainfo.y_title}" style="width: 450px;"><em>*</em>
						</span>
					</li>
					<li>
						<label class="fl tle">分类图标：</label>
						<span class="fl cnt"><input name="y_img" id="thumbimg" value="{$datainfo.y_img}" class="form-control" placeholder="图片地址" style="width: 450px;"><a class="browse" f='thumbimg'>浏览···</a></span>
					</li>
					<li style="margin-top: -15px;">
						<label class="fl tle"></label>
						<span class="fl cnt"><img id="showimg" src="{$datainfo.y_img}" height="90" /></span>
					</li>
					<li>
						<label class="fl tle">版块图标：</label>
						<span class="fl cnt"><input name="y_img1" id="thumbimg1" value="{$datainfo.y_img1}" class="form-control" placeholder="图片地址" style="width: 450px;"><a class="browse" f='thumbimg1'>浏览···</a></span>
					</li>
					<li style="margin-top: -15px;">
						<label class="fl tle"></label>
						<span class="fl cnt"><img id="showimg1" src="{$datainfo.y_img1}" height="90" /></span>
					</li>
					<li>
						<label class="fl tle">链接地址：</label>
						<span class="fl cnt">
						<input name="y_vurl" class="form-control" value="{$datainfo.y_vurl}" placeholder="链接地址" style="width: 450px;">
						</span>
					</li>
					<li>
						<label class="fl tle">所属板块：</label>
				    	<span class="fl cnt">
					    	<select name="type" class="form-control" style="width:200px;">
					    		<volist name='data' id='v'>
								<option value="{$v.id}" <if condition="$v['id'] eq $datainfo['type']">selected</if>>{$v['typename']}</option>
					    		</volist>		
					    	</select>
				    	</span>
					</li>
					<li>
						<label class="fl tle">内容介绍：</label>
						<span class="fl cnt">
						<textarea name="content" class="form-control" placeholder="内容介绍" style="width: 450px; height:120px;">{$datainfo.content}</textarea>
						</span>
					</li>
					<li>
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt">
                             	发布人：<input name="issuer" class="txtlength200" style="width: 100px; margin-right:15px;" placeholder="{$datainfo.issuer}" value='{$datainfo.issuer}' readonly="readonly">
                             	发布日期：<input name="y_datetime" class="txtlength200" style="width: 160px;" placeholder="发布日期" value="{$datainfo.y_datetime}">
							    &nbsp;&nbsp;关注度：<input name="y_guanzhu" class="txtlength200" style="width: 160px;" placeholder="关注度" value="{$datainfo.y_guanzhu}">
						</span>
					</li>
					<li class="submit">
						<label class="fl tle">&nbsp;</label>
						<span class="fl cnt"><input type="submit" value="确定修改" class="submitbtn" /></span>
					</li>
				</ul>
			</form>
		</div>
		<div class="obj-previewimg">
			<div class="instructions">
				<b>备注说明：</b><br>
				1、带有红色  “ * ” 项必填<br>
			</div>
		</div>
	</div>

</div>
</body>
</html>
